interface PageQuery {
  pageNum: number;
  pageSize: number;
}

interface PageResult<T> {
  list: T;
  total: number;
}

export interface AdvertQuery extends PageQuery {
  keywords: string;
}

export interface Advert {
  id: string;
  name: string;
  logoUrl: string;
  sort: number;
}

export type AdvertPageResult = PageResult<Advert[]>;

export interface AdvertForm {
  id?: number;
  title: string;
  picUrl: string;
  beginTime: string;
  endTime: string;
  status: number;
  sort: number;
  url: string;
  remark: string;
}
